<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    div {
      width: 100px;
      height: 100px;
      background-color: skyblue;

      position: absolute;
      left: 0;
      top: 0;
    }

    p {
      width: 100px;
      height: 100px;
      background-color: orange;

      position: absolute;
      left: 0;
      top: 130px;
    }
  </style>
</head>
<body>

  <div></div>

  <p></p>

  <script src="./utils.js"></script>

  <script>
        // 获取两个元素 

        var divele = document.querySelector('div');
        var ple = document.querySelector('p');


        divele.onclick = function(){
            move(this,{'left':555,'top':300,'borderRadius':200},()=>{console.log('hello word')},t=30);
        }


        ple.onclick = function(){
            move(this,{'width':600,'height':600});
        }
  </script>
</body>

</html>
